/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.zx.examination.room.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.zx.examination.room.entity.TexaminationRoom;
import com.jeesite.modules.zx.examination.room.dao.TexaminationRoomDao;

/**
 * 考试考场Service
 * @author zpp
 * @version 2020-03-22
 */
@Service
@Transactional(readOnly=true)
public class TexaminationRoomService extends CrudService<TexaminationRoomDao, TexaminationRoom> {
	
	/**
	 * 获取单条数据
	 * @param texaminationRoom
	 * @return
	 */
	@Override
	public TexaminationRoom get(TexaminationRoom texaminationRoom) {
		return super.get(texaminationRoom);
	}
	
	/**
	 * 查询分页数据
	 * @param texaminationRoom 查询条件
	 * @param texaminationRoom.page 分页对象
	 * @return
	 */
	@Override
	public Page<TexaminationRoom> findPage(TexaminationRoom texaminationRoom) {
		return super.findPage(texaminationRoom);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param texaminationRoom
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(TexaminationRoom texaminationRoom) {
		super.save(texaminationRoom);
	}
	
	/**
	 * 更新状态
	 * @param texaminationRoom
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(TexaminationRoom texaminationRoom) {
		super.updateStatus(texaminationRoom);
	}
	
	/**
	 * 删除数据
	 * @param texaminationRoom
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(TexaminationRoom texaminationRoom) {
		super.delete(texaminationRoom);
	}
	
}